#include "RasterizerStateDX9.h"
#include "RasterizerStateDX10.h"

CRasterizerState *CRasterizerState::CreateRS( )
{
    switch (g_ApiVersion)
    {
    case V_D3D9:
        return new CRasterizerStateDX9;
    case V_D3D10:
        return new CRasterizerStateDX10;
    }

    return NULL;
}